var express = require('express');
var router = express.Router();
var muUsers =require('../middleware/muUsers');
var muUsersTraffic =require('../middleware/muUsersTraffic');
var muNodesOnlineCount =require('../middleware/muNodesOnlineCount');
var muNodesInfo =require('../middleware/muNodesInfo');
var muNodesTraffic =require('../middleware/muNodesTraffic');


/* GET users listing. */
router.get('/users',muUsers);
router.post('/users/:id/traffic', muUsersTraffic);
router.post('/nodes/:id/online_count', muNodesOnlineCount);
router.post('/nodes/:id/info', muNodesInfo);
router.post('/nodes/:id/traffic', muNodesTraffic);


module.exports = router;
